package com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.employee;

import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.employee.dto.BusinessContractExpiresEmployeeListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.employee.dto.BusinessProbationaryPeriodExpiresEmployeeListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.employee.dto.BusinessRecentBirthdaysEmployeeListCloudDto;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.employee.param.BusinessContractExpiresEmployeeListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.employee.param.BusinessProbationaryPeriodExpiresEmployeeListCloudParam;
import com.youkeyi.ddy.cloud.common.api.application.business.hr.employee.employee.param.BusinessRecentBirthdaysEmployeeListCloudParam;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * BusinessEmployeeRemindCloudServiceFallback
 *
 * @Author liuxiawang
 * @Date 1/28/22 4:12 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/business/employee/remind/fallback")
public class BusinessEmployeeRemindCloudServiceFallback implements BusinessEmployeeRemindCloudService {

    @Override
    public BusinessRecentBirthdaysEmployeeListCloudDto recentBirthdaysEmployeeList(BusinessRecentBirthdaysEmployeeListCloudParam param) {
        return new BusinessRecentBirthdaysEmployeeListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public BusinessProbationaryPeriodExpiresEmployeeListCloudDto probationaryPeriodExpiresEmployeeList(BusinessProbationaryPeriodExpiresEmployeeListCloudParam param) {
        return new BusinessProbationaryPeriodExpiresEmployeeListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public BusinessContractExpiresEmployeeListCloudDto contractExpiresEmployeeList(BusinessContractExpiresEmployeeListCloudParam param) {
        return new BusinessContractExpiresEmployeeListCloudDto(Boolean.FALSE, "服务不可用");
    }
}
